package com.chang.xmlAop;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class CalculatorTest {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("beanAop.xml");
        Calculator bean = applicationContext.getBean(Calculator.class);
        bean.count(77, 88);
    }
}
